package com.light.gulimall.seckill.feign;

import com.light.gulimall.seckill.pojo.SeckillSessionPojo;
import com.light.gulimall.seckill.pojo.SkuInfoPojo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(name = "gulimall-product")
public interface ProductRemoteServiceClient {


    @RequestMapping("product/skuinfo/getSkuInfo/{skuId}")
    SkuInfoPojo getSkuInfo(@PathVariable("skuId") Long skuId);
}
